package com.sharer.last.feign;


import com.sharer.last.base.constant.CommonConstant;
import com.sharer.last.base.model.R;
import com.sharer.last.fallback.factory.CommonFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = CommonConstant.BLOG_ADMIN_APPLICATION_NAME,fallbackFactory = CommonFeignFallbackFactory.class)
@Component
public interface AboutFeign {
    @GetMapping("/about")
    R about();
}
